Mega Code Archive
JUnit
1) AssertEquals([String message],expected,actual)
2) AssertEquals([String message],expected,actual,tolerance)
3) AssertFalse([String message], boolean condition)
4) AssertNotSame([String message], expected, actual)
5) AssertNull([String message], java lang Object object)
6) AssertSame([String message], expected, actual)
7) AssertTrue([String message], boolean condition)
8) Catch exception in your test case
9) Define your own test case runner with reflection
10) Ensure that they are equal
11) Extends TestCase
12) Run A JUnit Test
13) Init class being tested in test case method
14) JUnit Test Composition
15) Per-Suite Setup and Tear-Down
16) Per-Test Setup and Tear-Down
17) Test algorithm
18) Test case method should start with test
19) Test Skeleton
20) Test suite
21) Test your stack structure
22) Use assertEquals in a test method
23) Use fail to display message in case of failure
24) Use the test suite method